package com.headwind.logistics.waybill.service.intl;

import com.headwind.logistics.common.pojo.BaseNetSite;
import com.headwind.logistics.common.pojo.ExpressGrant;
import com.headwind.logistics.waybill.dto.ExpressGrantSiteEmpDTO;
import com.headwind.logistics.waybill.dto.ExpressRecordEmpDTO;

import java.util.List;

/**
 * @Author 小恶魔
 * @Date 2020-07-21 20:24
 * @Version 1.0
 * @DESCRIPTION 填写类作用描述
 */
public interface ExpressServiceIntl {
    List<ExpressRecordEmpDTO> queryExpressRecord(Integer page, Integer rows);

    Long queryNewExpressEndNum();

    Integer addExpressNum(ExpressRecordEmpDTO expressRecordEmpDTO);

    Integer batchDeleteExpressFetch(String expressIds);

    List<BaseNetSite> queryNetAreaSiteByAreaId(Integer areaId);

    Integer addExpressGrant(ExpressGrant expressGrant);

    Integer updateExpressGrantStartById(Integer start,Long expressRecordId);

    List<ExpressGrantSiteEmpDTO> queryAllExpressGrantOrPage(Integer page, Integer rows);

    List<ExpressGrantSiteEmpDTO> queryExpressGrantByGrantDateOrSiteName(Integer page
            ,Integer rows
            ,String startDate
            ,String endDate
            ,String siteName);
}
